{config_load file="lang/$language/lang_$language.conf" section="address_book"}
<div id="contentdiv-fullwidth" style="float:left;">
{if $error!=''}
	<div>
		{$error}
	</div>
{/if}
<h1>{#heading_address#}</h1>

<h3>{#title_standard#}</h3>

<div class="left w44p">
	<div class="al" style="padding: 10px; border: 1px solid rgb(204, 204, 204); width: 370px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
		{$ADDRESS_DEFAULT}<br />
	</div>
</div>
<div class="right w52p">
	{#text_standard#}
</div>
<div class="clearfix"></div><br />

<h3>{#title_addresses#}</h3>
<p>{$ADDRESS_COUNT}</p>

{foreach name=aussen item=addresses from=$addresses_data}
<div style="background:#fff;border:1px solid #CCCCCC;padding:15px;margin:0 10px 20px 0;float:left;width:264px;height:161px;">
    <strong>{$addresses.NAME}</strong>{if $addresses.PRIMARY=='1'} <em>({#title_standard#})</em>{/if}<br />
    <div class="button_adresse">{$addresses.BUTTON_EDIT}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$addresses.BUTTON_DELETE}</div><br />
    {$addresses.ADDRESS}<br /><br />
  </div>
{/foreach}
 <div style="clear:both;">
<div class="left button_newsletter">{$BUTTON_BACK}</div>
<div class="ar button_newsletter button_newadress">{$BUTTON_NEW}</div>
</div>